//
//  FieldObservationComm.h
//  Tazama NGO
//
//  Created by jsheriff on 8/11/11.
//  Copyright 2011 The MITRE Corporation. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FieldObservation.h"

@interface FieldObservationComm : NSObject {
    NSMutableData *receivedData;
    NSURLConnection *theConnection;    
    int lastStatusCode;
}

-(void) postFieldObservationToServer:(FieldObservation *)fieldObservation;
-(void) postFieldObservationToServer2:(FieldObservation *)fieldObservation;
-(NSString *)createXMLRequestVersion0:(FieldObservation *)fieldObservation;
-(NSString *)createXMLRequestVersion1:(FieldObservation *)fieldObservation;

+(FieldObservationComm *)sharedInstance;

@end
